﻿
@media only screen and (max-width: 960px) and (max-height: 960px)
{
	body > div
	{
		overflow-y:hidden!important;
		background-color:White;
		height:100%; 
		width: 100%;
	}
}

@media only screen and (max-width: 960px) and (min-height: 961px)
{
	html {overflow-x: hidden;}
	
	body
	{
		background-image: url("/Content/Images/backgroundDict.jpg");
		background-repeat: no-repeat;
		background-position: right top;
	}
	
	body > div
	{
	overflow-y:auto;	
		margin:auto;
		width: 100%;
		border-top: 1px solid black;
		border-bottom: 1px solid black;
		top:50%; 
		height:958px; 
		position:absolute;
		margin-top:-479px;
		background-color: White;
		
	}
}

@media only screen and (min-width: 961px) and (max-height: 960px)
{
	html
	{
		overflow:hidden;
	}
	
	body
	{
		background-image: url("/Content/Images/backgroundDict.jpg");
		background-repeat: no-repeat;
		background-position: right top;
	}
	
	body > div
	{
		overflow-y:auto;
		border-left: 1px solid black;
		border-right: 1px solid black;
		width: 958px;
		height:100%;
		margin:auto;
		background-color:White;
		left:50%;
		margin-left:-479px;
		position:absolute;		
	}
}

@media only screen and (min-width: 961px) and (min-height: 961px)
{
		html
	{
		overflow:hidden;
	}
	
	body
	{
		background-image: url("/Content/Images/backgroundDict.jpg");
		background-repeat: no-repeat;
		background-position: right top;
	}
	
	body > div
	{
		border: 1px solid black;
		width: 958px;
		height: 958px;
		left:50%;
		margin-left:-479px;
		background-color:White;
		top:50%; 
		position:absolute;
		margin-top:-479px;
		overflow-y:auto;
	}

}





a.icon:hover
{
	color:Gray;
}

.icon
{
	
	font-style: normal !important;
	font-weight: normal !important;
	text-transform: none !important;
}




body, ul, li
{
	padding: 0;
	margin: 0;
	border: 0;
}

body
{
	font-family: helvetica, Arial, Sans-Serif;
}

.header, .footer
{
	width: 100%;
	height: 48px;
	background-color: #deb500;
	font-size: 20px;
	text-align: center;
	color: #f3f3f3;
	font-weight: bold;
	line-height: 45px;
	position: relative;
}

.header a,
.header a:visited,
.header h3 + a:visited
{
	color: White;
}

.header > a
{
	text-align: left;
	font-size: 28px;
	text-decoration: none;
	position: absolute;
	left: 5px;
	width: 80px;
	height: 100%;
	cursor: pointer;
}

.header h3 + a
{
	left: auto;
	right: 5px;
	text-align: right;
}

.header h3
{
	display: inline;
}

.header .selection
{
	font-size: 24px;
	line-height: 24px;
}


.selection
{
	text-align: center;
	padding-top: 16px;
	overflow: hidden;
	white-space: nowrap;
}

.content
{
	z-index: 1;
	width: 100%;
	padding: 0;
	border: none;
	-webkit-overflow-scrolling: touch;
	margin: 0 0 0 0;
}


ul
{
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	text-align: left;
}

li
{
	position: relative;
	padding: 0 0;
	height: 50px;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #fff;
	background-color: #fafafa;
	font-size: 14px;
	-moz-user-select: none;
	-webkit-user-select: none;
}

li .item
{
	position: relative;
}

li .item div
{
	position: absolute;
}

.moreOptions
{
	color:	#E8E8E8 
}

.moreOptions.active
{
	color: #505050 	
}

.search
{
	text-align: center;
}



.actions
{
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	z-index: 0;
}

.actions .head
{
	background: black;
	color: White;
	width: 100%;
	z-index: 100;
}


.footer a
{
	position: relative;
	font-size: 32px;
	bottom: 2px;
	text-decoration: none;
	color: White;
	cursor: pointer;
	text-align: center;
	right: auto;
	left: auto;
}

.footer a:hover
{
	color: Gray;
}

.red
{
	background-color: Red;
}


#menu li
{
	position: relative;
}

#menu li .icon
{
	font-size: 32px;
	margin-left: 10px;
	margin-right:20px;
}

.header a:visited
{
	color:White;
}

#menu li span
{
	margin-right: 1em;
}

#menu a
{
	text-decoration: none;
	color: blue;
}


.inputItem
{
	position: relative;
	height: 56px;
	width: 100%;
}

.inputItem label
{
	position: absolute;
	top: 0;
	left: 6px;
	font-size: 12px;
	font-weight: bold;
	color: Gray;
}

.inputItem div
{
	position: absolute;
	top: 16px;
	left: 6px;
	right: 48px;
	bottom: 12px;
}

.inputItem div input
{
	width: 100%;
	height: 100%;
	font-size: 1em;
	border: 1px solid gray;
	padding-left: 5px;
}

.inputItem a.icon
{
	position: absolute;
	right: 6px;
	cursor: pointer;
	font-size: 32px;
	bottom: 6px;
}

form
{
	display: none;
	visibility: hidden;
}


form#postCards
{
	display:block;
	visibility:visible;
}
.options
{
	font-size: 24px;
	line-height: 36px;
	margin: 5px;
	display: block;
	text-align: justify;
}

.options a
{
	margin-right: 20px;
	margin-top: 8px;
	display: inline-block;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding-left: 10px;
	padding-right: 10px;
	cursor:pointer;
}

.options a:nth-child(even)
{
	background: #E8E8E8;
}
.options a:nth-child(odd)
{
	background: #C8C8C8;
}

.options a:first-child
{
	margin-left: 0px;
}

.options a:last-child:after
{
	width: 0px;
	content: "";
}

.options .striked
{
	text-decoration: line-through;
	background-color: #F8F8F8!important;
	color: #A0A0A0!important;
}

.options a.striked:after
{
	text-decoration: none !important;
}

.options a p 
{
	font-size: 16px;
	margin:0;
	padding:0;
	line-height:16px;
}

.options a:hover,
.options a.striked:hover
{
	background-color: #686868;
	color: white;
}

.options a p:first-child
{
	margin-top: 5px;
}

.options a p:last-child
{
	margin-bottom:5px;
}

.selection a:hover 
{
	cursor:pointer;
	background-color: #686868;
	color: white;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.content > p
{
	display:block;
	
	text-align: center;
}

.content > p .button
{
	display:block;
	font-size: 50px;
	color:Red;
	margin-top: 20px;
}

.content > p .button:hover
{
	cursor:pointer;
	color:Black;
}

#menu a p
{
	margin:0;
	vertical-align: text-top;
}


.cardAction
{
	text-align:center;
}

.cardAction a
{
	color: Red;
    display: block;
    font-size: 50px;
    margin-top: 20px;
    text-decoration: none;
}

.cardAction a:visited
{
	color: Red;
  
}
#learnPanel .learnCard 
{
	margin-top: 30px;
}

#learnPanel .content a
{
		-webkit-tap-highlight-color: rgba(0,0,0,0);
}

#learnPanel .learnCard .word,
#learnPanel .learnCard .meaning
{
	height: 60px;
	font-size: large;
	width: 100%;
	text-align: center;
	background-color:  #E8E8E8;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

#learnPanel .learnCard .meaning
{
	background-color: #D3D3D3;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

#learnPanel .content a
{
	display:block;
	position:absolute;
	bottom:0;
	right: 0;
	left:0;
	top:48px;
}